home *** CD-ROM | disk | FTP | other *** search
- > > flex and byacc (Berkley Yacc) are available for Atari's from various FTP
- >
- > I've never seen byacc. Does it differ from the others in some significant way?
-
- No, not as far as I know (although I haven't used bison). Someone is going to
- do a final year project here to improve the facilities provided by lex & yacc
- so that they both provide a full BNF+ notation (or something).
-
- > By the way, bison is of course also available for the Ataris.
-
- Yea, I didn't know what Bison was (no yacc in its name), but I suppose I
- should have guessed!
-
- > > > C is a very nice language, in fact the best I've seen. Glasnost is only
- > ...
- > > Hmm.. One of the lecturers here (on the compiler design/imp. courses) has
- > > a thing about C... He likes picking holes in it...
- >
- > At the University I went to, most of the CS people are into functional
- > languages...
- >
- > While those may be nice and provable, I've yet to see one I'd like to
- > write a 'normal' program in.
-
- Yea, there are a couple like that here...
-
- > > eg. does i+++j (which is valid C) mean:
- > > (i++) + j or i + (++j)
- >
- > Of course noone in his right mind would ever write code like that.
-
- Correct!
-
- > There is a very specific standard for the language that I'm sure would
- > answer most of his questions, though. ;-)
-
- Yep, true, but why should it be defined? it shold be obvious... (or at
- least thats his argument)
-
- > > also the avoidance of keywords like endif and enddo are a pet hate...
- >
- > ?!?
- > That's one of the major reasons I like C!
-
- He doesn't like the fact that {} are overloaded, and that you can have
- problems like the 'dangling else' problem...
-
- > (The ++ and += style things are another.)
- > Properly written C code can be so 'airy' and easy to read.
-
- Yes, += etc. do make it much more readable...
-
- > One of the functional languages I've seen actually used only the indentation
- > to mark blocks...
-
- !?!?! Now that is mad...
-
- > > (PS. the first expression is correct, IIRC)
- >
- > I would have guessed so, but I certainly won't start writing like that.
- > Some people seem to think that it's smart to know and use every little
- > strange thing in the C syntax and operation priorities, but I much prefer
- > to write code that's readable by a person without in-depth C-knowledge.
-
- Yes, I suppose that given a good compiler, you dont need to do lots of
- stupid contorted methods - the compiler should do the optimisation for you,
- and so all you have to worry about is readability... (and correctness, of
- course :)
-
-
- > Ooops!
- > I just realized that we're going off on another of those peripheral
- > discussions here...
-
- Yep! :-)
-
- Anthony
-
-